<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Resource Filters</title>
<style type="text/css">@import url("file:/home/moovida/rcpdevelopment/eclipse/configuration/org.eclipse.osgi/bundles/488/1/.cp/book.css");</style>
<style type="text/css">@import url("file:/home/moovida/rcpdevelopment/eclipse/configuration/org.eclipse.osgi/bundles/505/1/.cp/schema.css");</style>
</HEAD>
<BODY>
<H1 style="text-align:center">Resource Filters</H1>
<p></p>
<h6 class="CaptionFigColumn SchemaHeader">Identifier: </h6>org.eclipse.ui.ide.resourceFilters<p></p>
<h6 class="CaptionFigColumn SchemaHeader">Since: </h6>3.0 (originally added in release 1.0 as org.eclipse.ui.resourceFilters)
<p></p>

<h6 class="CaptionFigColumn SchemaHeader">Description: </h6>This extension point is used to add predefined filters to views which show resources, such as the Navigator view.
These filters can be selected to hide resources whose names match the filter's pattern.
<p>
This extension point is deprecated in release 3.5 and replaced by the Common Navigator Framework.  Note that it is intentionally not actually marked deprecated in order to prevent warnings in other Eclipse plugins that must support this.<p></p>
<h6 class="CaptionFigColumn SchemaHeader">Configuration Markup:</h6>
<p></p>
<p class="code SchemaDtd">&lt;!ELEMENT <a name="e.extension">extension</a> (<a href="#e.filter">filter</a>*)&gt;</p>
<p class="code SchemaDtd">&lt;!ATTLIST extension</p>
<p class="code SchemaDtdAttlist">point&nbsp;CDATA #REQUIRED</p><p class="code SchemaDtdAttlist">id&nbsp;&nbsp;&nbsp;&nbsp;CDATA #IMPLIED</p><p class="code SchemaDtdAttlist">name&nbsp;&nbsp;CDATA #IMPLIED</p>&gt;</p>
<p></p>
<ul class="ConfigMarkupAttlistDesc">
<li><b>point</b> - a fully qualified identifier of the target extension point</li>
<li><b>id</b> - an optional identifier of the extension instance</li>
<li><b>name</b> - an optional name of the extension instance</li>
</ul>
<br><p class="code SchemaDtd">&lt;!ELEMENT <a name="e.filter">filter</a> (<a href="#e.description">description</a>?)&gt;</p>
<p class="code SchemaDtd">&lt;!ATTLIST filter</p>
<p class="code SchemaDtdAttlist">pattern&nbsp;&nbsp;CDATA #REQUIRED</p><p class="code SchemaDtdAttlist">selected&nbsp;(true | false) "false"</p>&gt;</p>
<p></p>
<ul class="ConfigMarkupAttlistDesc">
<li><b>pattern</b> - the pattern to match.  May contain * and ? wildcards.</li>
<li><b>selected</b> - "true" if the pattern should be selected by default, "false" or undefined if not.</li>
</ul>
<br><p class="code SchemaDtd">&lt;!ELEMENT <a name="e.description">description</a> (#PCDATA)&gt;</p>
<p></p>
<p class="ConfigMarkupElementDesc">
the description of the purpose of this filter.</p>
<br><br>
<h6 class="CaptionFigColumn SchemaHeader">Examples: </h6>The following is an example of a resource filter extension, which filters out class files, and is selected by default:

<p>
<pre class="Example"><span class="code SchemaTag">
 &lt;extension point=</span><span class="code SchemaCstring">&quot;org.eclipse.ui.ide.resourceFilters&quot;</span><span class="code SchemaTag">&gt;
  &lt;filter pattern=</span><span class="code SchemaCstring">&quot;*.class&quot;</span><span class="code SchemaTag"> selected=</span><span class="code SchemaCstring">&quot;true&quot;</span><span class="code SchemaTag">/&gt;
 &lt;/extension&gt;
</span></pre>
</p>
<p></p>

<br>
<p class="note SchemaCopyright">
Copyright (c) 2002, 2009 IBM Corporation and others.<br>
All rights reserved. This program and the accompanying materials are made
available under the terms of the Eclipse Public License v1.0 which accompanies
this distribution, and is available at <a 
href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>

</p>
</BODY>
</HTML>
